package liuyang.bigeventserver.modules.web.controller;

import liuyang.bigeventserver.common.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xconf
 * @since 2024/2/27
 */
@RestController
public class InfoController {

    @GetMapping("/")
    public R infoGet() {
        return R.ok("big-event");
    }

    @PostMapping("/")
    public R infoPost() {
        return R.ok("big-event");
    }
}
